﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace RCREEE.Library
{
    public static partial class DataManager
    {
        public static DataTable GetAllImagePathes()
        {
            try
            {
                _Command.CommandText = "select FlagImagePath from CountryMaster order by CountryMaster.CountryOrder";

                _Command.CommandType = System.Data.CommandType.Text;

                DataTable dtFlags = new DataTable();

                _Adapter.Fill(dtFlags);

                return dtFlags;
            }
            catch (Exception exc)
            {
                return null;
            }
        }
    }
}
